#ifndef __LABELDISTRIBUTIONSQLWRITER_H__
#define __LABELDISTRIBUTIONSQLWRITER_H__

#include "LabelDistributionWriter.h"
#include "sqlite3.h"

class LabelDistributionSqlWriter
	: public LabelDistributionWriter
{
	sqlite3 *m_sql;

	void ExecSql(char* sql);

public:
	LabelDistributionSqlWriter(std::string &sOutputFileName);
	virtual ~LabelDistributionSqlWriter();

	int Write(Node *key, ListLabel *val);
};

#endif